package com.esender.common.util;

import com.esender.common.model.StandardSubmit;

import java.util.concurrent.ConcurrentHashMap;

/**
 * 用于cmpp发送短信时，临时存储得位置
 */
public class CMPPSubmitRepoMapUtil {
    private static ConcurrentHashMap<String, StandardSubmit> map = new ConcurrentHashMap();

    public static void put(int sequence,StandardSubmit standardSubmit){
        map.put(sequence+"",standardSubmit);
    }
    public static StandardSubmit get(int sequence){
        return map.get(sequence+"");
    }
    public static StandardSubmit remove(int sequence){
        return map.remove(sequence+"");
    }
}
